﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfRights.aspx.cs" Inherits="ownx.wfRights" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Felhasználó</title>
    <link href="ownx.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-image: url(./images/bg.png); color: White; font-weight: bold;">
    <form id="form1" runat="server">
    <asp:Button ID="FalseButton" runat="server" Style="height: 0px; width: 0px; background-color: #111111;
        border-width: 0px;" Enabled="false" />
    <div style="width: 100%; height: 0px; position: absolute; left: 0px; top: 50%;" id="v_center">
        <div style="width: 100%; height: 600px; position: absolute; top: -300px; text-align: center;
            background-image: url(./images/alpha_bg.png); background-repeat: no-repeat; background-position: right;"
            id="dark">
            <div style="width: 950px; height: 600px; position: relative; margin: 0px auto 0px auto;">
                <div style="width: 170px; height: 600px; float: right; line-height: 5px;" id="buttons">
                    <asp:Button ID="bMent" runat="server" Text="Ment" Style="margin-top: 5px;" CssClass="button"
                        OnClick="bMent_Click" />
                    <br />
                    <br />
                    <asp:Button ID="bVissza" runat="server" Text="Vissza" Style="" CssClass="button"
                        OnClick="bVissza_Click" />
                    <br />
                    <br />
                    <asp:Button ID="bVisszaFooldalra" runat="server" Text="Vissza a főoldalra" 
                        Style="" CssClass="button" onclick="bVisszaFooldalra_Click" />                        
                </div>
                <div style="width: 780px; height: 520px; float: left; text-align: left;" id="main1">
                    <div style="text-align: center;">
                        <div style="height: 250px; width: 767px; overflow: auto; margin: 5px auto 0px auto;">
                            <asp:GridView ID="gvRights" runat="server" Style="width: 750px; border-color: #dac6a6;
                                text-align: center; overflow: auto;" AutoGenerateColumns="False" CellPadding="4"
                                BorderStyle="None" CaptionAlign="Top" MouseOverColor="Black" GridLines="None"
                                PageSize="7" OnRowCommand="gvRights_RowCommand">
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <RowStyle VerticalAlign="Top" BorderWidth="0px" Wrap="True" />
                                <Columns>
                                    <asp:BoundField DataField="RGH_ID" HeaderText="Azonosító" />
                                    <asp:BoundField DataField="RGH_MEGNEVEZES" HeaderText="Jog" />
                                    <asp:BoundField DataField="RGS_ID" HeaderText="RGS_ID" Visible="False">
                                        <ControlStyle Width="0px" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="RIGHTS" HeaderText="Aktív"/>
                                    <asp:ButtonField CommandName="VALT" Text="Vált" ItemStyle-ForeColor="#339933" />
                                    <asp:BoundField DataField="RGS_RIGHT" HeaderText="RGS_RIGHT" Visible="False" />
                                </Columns>
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#333333" />
                                <HeaderStyle BackColor="Black" Font-Bold="True" Height="30px" CssClass="header" />
                                <EditRowStyle BackColor="#999999" />
                            </asp:GridView>
                        </div>
                    </div>
                    <br />
                    <asp:Label ID="lMessage" runat="server" Style="" Font-Names="Arial" ForeColor="#990000"></asp:Label>
                    <table cellspacing="5">
                        <tr>
                            <td>
                                <asp:Label ID="lName" runat="server" Text="Név:" Style=""></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbUSR_NAME" runat="server" Style="" CssClass="editbox"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lLoginName" runat="server" Text="Login:" Style=""></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbUSR_LOGIN_NAME" runat="server" Style="" CssClass="editbox"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lPW" runat="server" Text="Jelszó:" Style=""></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="tbPW" runat="server" Style="" CssClass="editbox" TextMode="Password"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lPW0" runat="server" Text="Főnök:" Style=""></asp:Label>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlUSR_FONOK" runat="server" Style="" CssClass="other_input">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:CheckBox ID="cbSupervisor" runat="server" Style="" Text="Supervisor" Enabled="False" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
